import request from "@/utils/request.js"

class Users {

//用户注册
user_reg=(data)=>request({path:"/user/reg",data});
//用户登录
user_login=(data)=>request({path:"/user/login",data});
//短信验证
send_sms=(data)=>request({path:"/user/sendSms",data});
//获取用户信息
getuserInfo=(data)=>request({path:"/user/getuserInfo",data});
//忘记密码
user_forget=(data)=>request({path:"/user/forget",data});
//编辑用户信息
editUserInfo=(data)=>request({path:"/user/editUserInfo",data});
//修改密码
updatePwd=(data)=>request({path:"user/updatePwd",data});
}

export default new Users();
